<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>myapp</title>
    <style>
      body,
      html {
        margin: 0;
        width: 100%;
        height: 100%;
      }
      #container {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
      }
    </style>
  </head>

  <body>
    <div id="container"></div>
    <script>
      window.onload = () => {
        const editor = new EditorCanvas(document.getElementById("container"));
        console.log(editor);
      };
    </script>
  </body>
</html>
